<?php

/**
 * 读取文件
 *
 *  __DIR__
 */
$result = swoole_async_readfile(__DIR__.'/1.txt', function($fileName, $content) {
    echo $fileName . PHP_EOL;
    echo $content . PHP_EOL;
});

var_dump($result);
echo 'start';
